<template>
  <div id="app">
    <header><router-view name="appHeader" /></header>
    <main>
      <router-view />
    </main>
    <footer>
      <router-view name="appFooter" />
    </footer>
  </div>
</template>

<script>
import './_reset.scss'

export default {
  name: 'App'
}
</script>

<style>
  html, body {
    height: 100%;
  }
</style>

<style lang="scss" scoped>
  #app {
    display: flex;
    flex-direction: column;
    height: 100%;

    header {
      background-color: indigo;
    }

    main {
      flex: 1;
      overflow-x: hidden;
    }
  }
</style>
